home *** CD-ROM | disk | FTP | other *** search
- <HTML>
- <STYLE>
- @import URL("res:IDS_ACDayMonthControl");
- @import URL("res:IDS_ACDAYVIEW");
- </STYLE>
- <HEAD>
-
- <SCRIPT LANGUAGE="javascript" src="res:ACDayMonthBody2.js" ></SCRIPT>
-
- </HEAD>
-
- <BODY id="DayMonthController"
- oncontextmenu="window.event.returnValue = false;"
- onload="DoOnLoadBody();"
- scroll=no topmargin=0 leftmargin=0>
-
- <OBJECT id=ToolBarCtrl
- CLASSID="clsid:F4F30C01-A7B4-492e-943E-58A7CF2D9DD6"
- Width=100% Height=100%
- STYLE="position: absolute; top: 0px; left: 0px;
- width: expression(document.body.clientWidth);
- height: 46px;"
- ></OBJECT>
-
- <SCRIPT LANGUAGE="VBScript">
- sub ToolBarCtrl_ViewChange( iView )
- if iView = 1 then
- MakeMonthViewVisible
- elseif iView = 0 then
- MakeDayViewVisible
- else
- MakeWeekViewVisible
- end if
- end sub
- sub ToolBarCtrl_ButtonClick( nButton )
- if nButton = 1 then
- DoOnClickHelp
- elseif nButton = 2 then
- DoOnClickSettings
- elseif nButton = 3 then
- DoOnClickPrint
- end if
- end sub
- sub ToolBarCtrl_Refresh()
- if MonthViewIsVisible() then
- MonthViewDiv.Refresh
- elseif DayViewIsVisible() then
- DayViewDivRefresh
- else
- WeekViewDivRefresh
- end if
-
- ToolBarCtrl.RefreshDayMonthTitle
- end sub
- </SCRIPT>
- <OBJECT id=MonthViewDiv
- CLASSID="clsid:0FE9096F-7F7A-4e40-857C-E48A53440DFE"
- Width=100% Height=100%
- STYLE="position: absolute; top: 46px; left: 0px;
- width: expression(document.body.clientWidth - 1);
- height: expression(document.body.clientHeight - 46);
- border-left: 1px solid #013C59;
- visibility: hidden">
- </OBJECT>
-
- <SCRIPT LANGUAGE="VBScript">
- sub MonthViewDiv_ShowEventDetails( id, tab, isLinked )
- if isLinked = "1" then
- ShowLinkedEventDetails id
- end if
- end sub
- sub MonthPickerCtrl_Refresh()
- DayViewDivRefresh
- ToolBarCtrl.RefreshDayMonthTitle
- end sub
- sub MonthPickerCtrl_RefreshTodayBtn()
- TodayButtonRefresh
- end sub
- sub DVListDiv_ShowEventDetails( id, tab, isLinked )
- if isLinked = "1" then
- ShowLinkedEventDetails id
- end if
- end sub
- </SCRIPT>
-
-
- <OBJECT id=WeekViewDiv
- CLASSID="clsid:B6F041A2-48B9-4d3f-A91D-90E17C505FD3"
- Width=100% Height=100%
- STYLE="position: absolute; top: 46px; left: 0px;
- border-left: 1px solid black;
- visibility: hidden;
- height: expression(document.body.clientHeight - 46);"
- >
- <PARAM NAME="ViewType" VALUE="WeekView">
- </OBJECT>
-
-
- <!-- DAY VIEW DIV -->
-
- <OBJECT id=DayViewDiv
- CLASSID="clsid:B6F041A2-48B9-4d3f-A91D-90E17C505FD3"
- Width=100% Height=100%
- STYLE="position: absolute; top: 46px; left: 0px;
- border-left: 1px solid black;
- visibility: hidden;
- height: expression(document.body.clientHeight - 46);"
- >
- <PARAM NAME="ViewType" VALUE="DayView">
- </OBJECT>
-
- </BODY>
- </HTML>
-